import React from "react";
import ReactDOM from "react-dom";
import { BrowserRouter as Router } from "react-router-dom";
import App from "./App";
import zhCN from 'antd/lib/locale/zh_CN';
import { ConfigProvider } from "antd"
// 映入antd样式文件
import 'antd/dist/antd.css';

ReactDOM.render(
    <ConfigProvider locale={zhCN}>
        <Router>
            <App />
        </Router>
    </ConfigProvider>,
    document.getElementById("root")
);